package com.xiaoxu.scala_base.三班._4_Scala隐式转换

//import ImplicitAspect._

object ImplicitArgs {

  implicit val name1 = "implicit_name"
  def main(args: Array[String]): Unit = {
    /**
      *
      * @param name 隐式参数-->默认参数
      */
    def testParam(implicit name:String): Unit = {
      println(name + "~~~~~~~~~~~~")
    }



    //testParam("zhangsan")



    testParam
    testParam("xiaoxu")



   //implicit val s2 = "s2"
   testParam
  }

//


}



